﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WDTAsg2.DbBizObject
{
    /// <summary>
    /// This is the class that is returned for each user
    /// Used in the UserInfo page, because we need to extract each user as an object
    /// from the DB
    /// </summary>
    public class User
    {
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public int Age { get; set; }
        public string Address { get; set; }
        public string Email { get; set; }

        public string GetFullName()
        {
            return this.FirstName + " " + this.LastName;
        }

    }
}